<?php


namespace app\controller;


use app\BaseController;

class test01 extends BaseController
{
    public function index(){
        return 21;
    }
    public function haltTest(){
        echo 1;
        halt("中断输出");
        echo 1;
    }
    public function test01(){
        return 'index.方法名:'.$this->request->action().'<br>当前实际路径:'.$this->app->getBasePath();
    }
}